package cn.taketoday.live.client;

import java.net.URISyntaxException;

import cn.taketoday.live.data.room.Room;
import lombok.extern.slf4j.Slf4j;

/**
 * @author BanqiJane
 */
@Slf4j
public class WebSocketProxy extends Websocket {

  public WebSocketProxy(String url, Room room) throws URISyntaxException, InterruptedException {
    super(url, room);
    log.debug("Connectin(连接中)...........................................");
    super.connectBlocking();
    log.debug("Connecting Success(连接成功)");
  }

  @Override
  public void onClose(int code, String reason, boolean remote) {
    super.onClose(code, reason, remote);

  }
}
